

package ModelLayer;

/**
 * @author Gruppe 2
 * 
 */

public class Supplier extends Person {
	private int cvr;
	
	/**
	 * 
	 * @param id
	 * @param name
	 * @param address
	 * @param zipCode
	 * @param city
	 * @param country
	 * @param personId
	 * @param cvr
	 */
	public Supplier(int id, String name, String address, int zipCode,
			String city, String country, int personId, int cvr) {
		super(id, name, address, zipCode, city, country);
		this.cvr = cvr;
	} 

	public Supplier() {
		super();
		cvr = 0;
	}

	/**
	 * 
	 * @return
	 */
	public int getCvr() {
		return cvr;
	}

	/**
	 * 
	 * @param cvr
	 */
	public void setCvr(int cvr) {
		this.cvr = cvr;
	}
	
	
	
	
}
